/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.zb.hms.data.hms.user.entity;

import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 *
 * @Description 登录信息记录
 * @author zb
 * @datetime 2017-8-7 21:56:41
 * @version V1.0
 */
@Entity
@Table(name = "hms_login_record")
public class LoginRecord {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private int id;
    private String account;
    @Temporal(TemporalType.TIME)
    private Date time;
    private String ip;
    private String address;
    private long duration;
    
}
